#include "StdAfx.h"
#include "GameStateMessage.h"
#include "game.h"

GameStateMessage::GameStateMessage(GamePtr gamePtr, GameStatePtr gameStatePtr) 
   : m_gameStatePtr(gameStatePtr)
   , m_gamePtr(gamePtr)
{
}


GameStateMessage::~GameStateMessage(void)
{
}

void GameStateMessage::do_execute()
{
   m_gamePtr->SetGameState(m_gameStatePtr);
}